﻿using Abp.Dependency;
using Basefr.Core.Contracts;
using Basefr.Core.Entities;

namespace Paas.Core
{
    public interface IMainRepository<TEntity, TPrimaryKey> : IRepository<TEntity, TPrimaryKey>
        where TEntity : EntityBase<TPrimaryKey>
        where TPrimaryKey : struct
    {

    }

    public interface IMainRepository<TEntity> : IRepository<TEntity>
        where TEntity : EntityBase<int>
    {

    }

    public interface IMainRepository : IRepository, ITransientDependency
    {

    }
}

